<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<SCRIPT LANGUAGE="JavaScript">  
$(function(){  
    	$.get("getSelect.do", {
			type : '2'
		}, function(data) {
			$("select#sex").append(data);
		});
		$.get("getSelect.do", {
			type : '3'
		}, function(data) {
			$("select#degree").append(data);
		});
		$.get("getSelect.do", {
			type : '7',code:null
		}, function(data) {
			$("select#major").append(data);
		});
		
		$("#searchUser").button().click(function() {
			location.href='queryUserList.do?pageTitle=人才查询&realName='+$("#realName").val()+'&workYear='+$("#workYear").val()+'&sex='+$("#sex").val()+'&degree='+$("#degree").val()+'&major=' + $("#major").val();
		});
});
</SCRIPT>
<div class="box">
<div class="line">人才检索</div>
<br/>
<center>
姓名：<input type="text" id="realName" style="width:50px"> 
工龄：<input type="text" id="workYear" style="width:50px"/> 
<select id="sex" name="sex" style="width: 97px;">
	<option value="">请选择性别</option>
</select><select id="degree" name="degree" style="width: 97px;">
	<option value="">请选择学历</option>
</select><select id="major" name="major" style="width: 200px;">
	<option value="">请选择专业</option>
</select>
<button id="searchUser">查 询</button></center>
<br/>
</div>